<!--包含头部文件-->
{include file="public/header" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 分类管理 <span class="c-gray en">&gt;</span> <a href="{:url('category/delist')}">删除列表</a> {:refresh()}</nav>
<div class="page-container">

	<div>
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<th width="40"><input name="" type="checkbox" value=""></th>
					<th width="80">ID</th>
					<th width="100">分类</th>
					<th width="60">排序序号</th>
					<th width="100">新增时间</th>
					<th width="60">发布状态</th>
					<th width="100">操作</th>
				</tr>
			</thead>
			<tbody>
				{volist name="categorys" id="vo"}
				<tr class="text-c">
					<td><input name="" type="checkbox" value=""></td>
					<td>{$vo.id}</td>
					<td>{$vo.name}</td>
					<td class="text-c">{$vo.listorder}</td>
					<td>{$vo.create_time}</td>
					<td class="td-status">{$vo.status|status}</td>
					<td class="td-manage">
						<a href="{:url('category/index',['parent_id'=>$vo.id])}">获取子栏目</a>
						<a style="text-decoration:none" class="ml-5" onClick="o2o_s_edit('编辑','{:url('category/edit',['id'=>$vo.id])}','',300)" href="javascript:;" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a>
						<a style="text-decoration:none" class="ml-5" onClick="o2o_recover('{:url('base/status',['id'=>$vo.id,'status'=>1,'model'=>'Category'])}')" href="javascript:;" title="恢复">恢复</a>
					</td>
				</tr>
				{/volist}
			</tbody>
		</table>
	</div>
</div>
{:pagination($categorys)}
<!--包含头部文件-->
{include file="public/footer" /}
<script>
	var SCOPE={
	  'listorder_url':"{:url('base/listorder')}",
	};
</script>

</body>
</html>
